home *** CD-ROM | disk | FTP | other *** search
/ Compendium Deluxe 2 / LSD and 17bit Compendium Deluxe - Volume II.iso / a / prog / cprog / ae_doors.lha / doordocs < prev   
Encoding:
Text File  |  1992-12-26  |  35.4 KB  |  965 lines

  1.  AmiExpress 2.20 Module Interface Function List
  2.  
  3.  NOTE: These are internal and do not pertain to the Module Glue routines for
  4.        designing doors.
  5.  
  6.  ---------------------------------------------------------------------------
  7.  
  8.         _____________ message structure for use with the XIMs
  9.        |              NOTE: RexxDoors are translated to the same structure
  10.        v                    via the RexxDoor utility
  11. struct JHMessage
  12. {
  13.   struct Message Msg;   <----- msg structure
  14.   char String[200];     <----- info buffer
  15.   int Data;             <----- Read/Write & result indicator
  16.   int Command;          <----- Command sent from door.
  17.   int NodeID;           <----- reserved
  18.   int LineNum;          <----- reserved
  19.   unsigned long signal; <----- reserved
  20.   struct Process *task; <----- see BB_GETTASK below
  21.   APTR Semi             <----- See MULTICOM below
  22. } ;
  23.  
  24. PORTNAME: The portname for the XIMs is 'AEDoorPort(n)' ie: AEDoorPort1
  25.  
  26.      
  27.  
  28. IDENTIFIER        
  29. -----------------------------------------------------------------------------
  30. JH_LI             Requests a string of information from the user with a 
  31.                   default string.
  32.  
  33.                   msg->Command = 0
  34.                   msg->String  = default result string
  35.                   msg->Data    = Maximum length of response.
  36.  
  37.                   msg->Data will be set to a -1 if a loss carrier or console
  38.                   timeout occurs, otherwise msg->Data will be 1
  39.  
  40.                   msg->String will be the response string from the user.
  41.  
  42.                   -----------------------------------------------------------
  43. JH_REGISTER       Registers a door or XIM with the current node.
  44.  
  45.                   msg->Command = 1
  46.  
  47.                   This must be the first command issued to the express node.
  48.                   This increments the number of doors active for the current
  49.                   node.
  50.  
  51.                   -----------------------------------------------------------
  52. JH_SHUTDOWN       Tells the node that a door is shutting down, this decreases
  53.                   the number of active doors inidicator , which once at 0, the
  54.                   AEDoorPort will close.
  55.  
  56.                   msg->Command = 2
  57.                   msg->Data    = N/A
  58.  
  59.                   -----------------------------------------------------------
  60. JH_WRITE          Allows you to send a text string to the user.
  61.  
  62.                   msg->Command = 3
  63.                   msg->String  = text
  64.                   msg->Data    = N/A
  65.  
  66.                   -----------------------------------------------------------
  67. JH_SM             Allows you to send a text string to the user.
  68.  
  69.                   msg->Command = 4
  70.                   msg->String  = text
  71.                   msg->Data    = 1 or 0
  72.  
  73.                   if msg->Data = 1, then a CR/LF combination will be sent.
  74.  
  75.                   -----------------------------------------------------------
  76. JH_PM             Allows you to prompt the user for a specified number of
  77.                   characters.
  78.  
  79.                   msg->Command = 5
  80.                   msg->String  = prompt string
  81.                   msg->Data    = maximum response length.
  82.  
  83.                   if msg->Data = -1, then a loss carrier has occured or a
  84.                   timeout condition has occured, otherwise msg->Data = 1.
  85.  
  86.                   msg->String will be the user response.
  87.  
  88.                   -----------------------------------------------------------
  89. JH_HK             Allows you to get a 1 character respinse from the user.
  90.  
  91.                   msg->Command = 6
  92.                   msg->String  = text
  93.                   msg->Data    = N/A
  94.  
  95.                   if msg->Data = -1, then a loss carrier has occured or a 
  96.                   timeout condition has occured, otherwise msg->Data = 1.
  97.  
  98.                   msg->String will be the result string.
  99.  
  100.                   -----------------------------------------------------------
  101. JH_SG             Allows you to display a text file to the user.
  102.  
  103.                   msg->Command = 7
  104.                   msg->String  = part file name.
  105.                   msg->Data    = N/A
  106.  
  107.                   ie:
  108.  
  109.                   msg->String = "BBS:Node1/Bull
  110.  
  111.                   This would try to display BBS:Node1/Bull.txt(.gr)
  112.                   also takes into account language specifications.
  113.  
  114.                   This also searches for the access level patterns, ie:
  115.  
  116.                   Bull10.txt.gr, Bull100.txt.gr
  117.  
  118.                   -----------------------------------------------------------
  119. JH_SF             Allows you to display a text file to the user.
  120.  
  121.                   msg->Command = 8
  122.                   msg->String  = Complete pathname
  123.                   msg->Data    = N/A
  124.  
  125.                   ie:
  126.  
  127.                   msg->String  = "BBS:Node1/Bull.txt"
  128.  
  129.                   This would show the file if it exists.
  130.  
  131.                   -----------------------------------------------------------
  132. JH_EF             Allows you to use the internal msgbase editor to edit your
  133.                   own files.
  134.  
  135.                   msg->Command = 9
  136.                   msg->String  = Complete pathname
  137.                   msg->Data    = 0
  138.  
  139.                   if msg->Data = -1, then a loss carrier has occured or a 
  140.                   timeout has occured, otherwise msg->Data will be 1.
  141.  
  142.                   -----------------------------------------------------------
  143. JH_CO             Allows you to send text string to the console only.
  144.  
  145.                   msg->Command = 10
  146.                   msg->String  = text
  147.                   msg->Data    = 1 or 0
  148.  
  149.                   if msg->Data = 1, then a CR/LF combination will be sent in
  150.                   addition to the text.
  151.  
  152.                   -----------------------------------------------------------
  153. JH_BBSNAME        Allows you to retrieve the BBS Name.
  154.  
  155.                   msg->Command = 11
  156.                   msg->Data    = N/A
  157.  
  158.                   msg->String will be the BBS name.
  159.  
  160.                   -----------------------------------------------------------
  161. JH_SYSOP          Allows you to retrieve the Sysop's Name.
  162.  
  163.                   msg->Command = 12
  164.                   msg->Data    = N/A
  165.  
  166.                   msg->String will be the Sysop name.
  167.  
  168.                   -----------------------------------------------------------
  169. JH_FLAGFILE       Allows you to add files to the list of flagged files.
  170.  
  171.                   msg->Command = 13
  172.                   msg->String  = FileName
  173.                   msg->Data    = N/A
  174.  
  175.                   Adds the msg->String to the list of flagged files for 
  176.                   downloading purposes, 
  177.  
  178.                   NOTE: The files must be in the download path for this to
  179.                         work.
  180.  
  181.                   -----------------------------------------------------------
  182. JH_SHOWFLAGS      Obsolete, DO NOT USE.
  183.  
  184.                   msg->Command = 14
  185.  
  186.                   -----------------------------------------------------------
  187. JH_ExtHK          Reserved, DO NOT USE.
  188.  
  189.                   msg->Command = 15
  190.  
  191.                   -----------------------------------------------------------
  192. JH_SIGBIT         Reserved, DO NOT USE.
  193.  
  194.                   msg->Command = 16
  195.  
  196.                   -----------------------------------------------------------
  197. JH_FetchKey       Reserved, DO NOT USE.
  198.  
  199.                   msg->Command = 17
  200.  
  201.                   -----------------------------------------------------------
  202. DT_NAME           Allows you to retrieve or change users name/handle
  203.  
  204.                   msg->Command = 100 
  205.                   msg->Data    = 1 or 0
  206.  
  207.                   if msg->Data = 1, then msg->String will be the name.
  208.                   if msg->Data = 0, then name will be msg->String
  209.  
  210.                   -----------------------------------------------------------
  211. DT_PASSWORD       Allows you to retrieve or change users password
  212.  
  213.                   msg->Command = 101
  214.                   msg->Data    = 1 or 0
  215.  
  216.                   if msg->Data = 1, then msg->String will be the password.
  217.                   if msg->Data = 0, then the password will be msg->String.
  218.  
  219.                   -----------------------------------------------------------
  220. DT_LOCATION       Allows you to retrieve or change users location
  221.  
  222.                   msg->Command = 102
  223.                   msg->Data    = 1 or 0
  224.  
  225.                   if msg->Data = 1, then msg->String will be the location
  226.                   if msg->Data = 0, then the location will be msg->String
  227.  
  228.                   -----------------------------------------------------------
  229. DT_PHONENUMBER    Allows you to retrieve or change users phone number.
  230.  
  231.                   msg->Command = 103
  232.                   msg->Data    = 1 or 0
  233.  
  234.                   if msg->Data = 1, then msg->String will be the phonenumber
  235.                   if msg->Data = 0, ten phonenumber will be msg->String
  236.  
  237.                   -----------------------------------------------------------
  238. DT_SLOTNUMBER     Allows you to retrieve users slot number
  239.  
  240.                   msg->Command = 104
  241.                   msg->Data    = 1
  242.  
  243.                   if msg->Data = 1, then msg->String will be the slotnumber.
  244.  
  245.                   -----------------------------------------------------------
  246. DT_ACCESSLEVEL    Allows you to retrieve or change users access level.
  247.  
  248.                   msg->Command = 105
  249.                   msg->Data    = 1 or 0
  250.  
  251.                   if msg->Data = 1, then msg->String will be accesslevel.
  252.                   if msg->Data = 0, then accesslevel will be msg->String.
  253.  
  254.                   -----------------------------------------------------------
  255. DT_RATIOTYPE      Allows you to retrieve or change users ratiotype
  256.  
  257.                   msg->Command = 106
  258.                   msg->Data    = 1 or 0
  259.  
  260.                   if msg->Data = 1, then msg->String will be ratiotype.
  261.                   if msg->Data = 0, then ratiotype will be msg->String.
  262.  
  263.                   -----------------------------------------------------------
  264. DT_RATIO          Allows you to retrieve or change users ratio
  265.  
  266.                   msg->Command = 107
  267.                   msg->Data    = 1 or 0
  268.  
  269.                   if msg->Data = 1, then msg->String will be ratio.
  270.                   if msg->Data = 0, then ratio will be msg->String.
  271.  
  272.                   -----------------------------------------------------------
  273. DT_COMPTYPE       Allows you to retrieve or change users computertype code
  274.  
  275.                   msg->Command = 108
  276.                   msg->Data    = 1 or 0
  277.  
  278.                   if msg->Data = 1, then msg->String will be computertype.
  279.                   if msg->Data = 0, then computertype will be msg->String.
  280.  
  281.                   -----------------------------------------------------------
  282. DT_MESSAGESPOSTED Allows you to retrieve or change users messagesposted
  283.  
  284.                   msg->Command = 109
  285.                   msg->Data    = 1 or 0
  286.  
  287.                   if msg->Data = 1, then msg->String will be messagesposted.
  288.                   if msg->Data = 0, then messagesposted will be msg->String.
  289.  
  290.                   -----------------------------------------------------------
  291. DT_UPLOADS        Allows you to retrieve or change number of useruploads.
  292.  
  293.                   msg->Command = 110
  294.                   msg->Data    = 1 or 0
  295.  
  296.                   if msg->Data = 1, then msg->String will be uploads.
  297.                   if msg->Data = 0, then uploads will be msg->String.
  298.  
  299.                   -----------------------------------------------------------
  300. DT_DOWNLOADS      Allows you to retrieve or change number of userdownloads.
  301.  
  302.                   msg->Command = 111
  303.                   msg->Data    = 1 or 0
  304.  
  305.                   if msg->Data = 1, then msg->String will be downloads.
  306.                   if msg->Data = 0, then downloads will be msg->String.
  307.  
  308.                   -----------------------------------------------------------
  309. DT_TIMESCALLED    Allows you to retrieve or change number of usercalls.
  310.  
  311.                   msg->Command = 112
  312.                   msg->Data    = 1 or 0
  313.  
  314.                   if msg->Data = 1, then msg->String will be timescalled.
  315.                   if msg->Data = 0, then timescalled will be msg->String.
  316.  
  317.                   -----------------------------------------------------------
  318. DT_TIMELASTON     Allows you to retrieve or change time user last called.
  319.  
  320.                   msg->Command = 113
  321.                   msg->Data    = 1 or 0
  322.  
  323.                   if msg->Data = 1, then msg->String will be timescalled.
  324.                   if msg->Data = 0, then timescalled will be msg->String.
  325.  
  326.                   NOTE: This is not a date stamp, this is the number of
  327.                         seconds since January 19something.
  328.  
  329.                   ----------------------------------------------------------
  330. DT_TIMEUSED       Allows you to retrieve or change timeused today.
  331.  
  332.                   msg->Command = 114
  333.                   msg->Data    = 1 or 0
  334.  
  335.                   if msg->Data = 1, then msg->String will be timeused.
  336.                   if msg->Data = 0, then timeused will be msg->String.
  337.  
  338.                   NOTE: This is in seconds.
  339.  
  340.                   ----------------------------------------------------------
  341. DT_TIMELIMIT      Allows you to retrieve or change timeallowed for a user.
  342.  
  343.                   msg->Command = 115
  344.                   msg->Data    = 1 or 0
  345.  
  346.                   if msg->Data = 1, then msg->String will be timelimit.
  347.                   if msg->Data = 0, then timelimit will be msg->String.
  348.  
  349.                   NOTE: Time in seconds.
  350.  
  351.                   ----------------------------------------------------------
  352. DT_TIMETOTAL      Allows you to retrive or change total time remaining.
  353.                   for a user today.
  354.  
  355.                   msg->Command = 116
  356.                   msg->Data    = 1 or 0
  357.  
  358.                   if msg->Data = 1, then msg->String will be time remaining.
  359.                   if msg->Data = 0, then time remaining will be msg->String.
  360.  
  361.                   NOTE: Time in seconds.
  362.  
  363.                   ----------------------------------------------------------
  364. DT_BYTESUPLOAD    Allows you to retrieve or change bytes uploads per user.
  365.  
  366.                   msg->Command = 117
  367.                   msg->Data    = 1 or 0
  368.  
  369.                   if msg->Data = 1, then msg->String will be bytesuploaded.
  370.                   if msg->Data = 0, then bytesuploaded will be msg->String.
  371.  
  372.                   ----------------------------------------------------------
  373. DT_BYTEDOWNLOAD   Allows you to retrieve or change bytes downloaded per user.
  374.  
  375.                   msg->Command = 118
  376.                   msg->Data    = 1 or 0
  377.  
  378.                   if msg->Data = 1, then msg->String will be bytesdownloaded.
  379.                   if msg->Data = 0, then bytesdownloaded will be msg->String.
  380.  
  381.                   -----------------------------------------------------------
  382. DT_DAILYBYTELIMIT Allows you to retrieve or change a users daily byte 
  383.                   download limit.
  384.  
  385.                   msg->Command = 119
  386.                   msg->Data    = 1 or 0
  387.  
  388.                   if msg->Data = 1, then msg->String will be bytelimit.
  389.                   if msg->Data = 0, then bytelimit will be msg->String.
  390.  
  391.                   -----------------------------------------------------------
  392. DT_DAILYBYTEDLD   Allows you to retrieve or change daily bytes downloaded.
  393.  
  394.                   msg->Command = 120
  395.                   msg->Data    = 1 or 0
  396.  
  397.                   if msg->Data = 1, then msg->String will be dailybytes.
  398.                   if msg->Data = 0, then dailybytes will be msg->String.
  399.  
  400.                   -----------------------------------------------------------
  401. DT_EXPERT         Allows you to retrieve or change expert mode.
  402.  
  403.                   msg->Command = 121
  404.                   msg->Data    = 1 or 0
  405.  
  406.                   -----------------------------------------------------------
  407. DT_LINELENGTH     Allows you to retrieve or change user linelength specs.
  408.  
  409.                   msg->Command = 122
  410.                   msg->Data    = 1 or 0
  411.  
  412.                   if msg->Data = 1, then msg->String will be linelength.
  413.                   if msg->Data = 0, then linelength will be msg->String.
  414.  
  415.                   -----------------------------------------------------------
  416. ACTIVE_NODES      Allows you to retrieve a string of active&inactive nodes.
  417.  
  418.                   msg->Command = 123
  419.                   msg->Data    = N/A
  420.  
  421.                   msg->String will be a string 10 bytes in length, with
  422.                   'X's marking the active nodes.
  423.  
  424.                   NOTE: This command will surely be changing, the current
  425.                         limit is 9 nodes.
  426.  
  427.                   -----------------------------------------------------------
  428. DT_DUMP           Allows you to dump the user's data structure to a 
  429.                   specified file.
  430.  
  431.                   msg->Command = 124
  432.                   msg->String  = FileName
  433.  
  434.                   -----------------------------------------------------------
  435. DT_TIMEOUT        Allows you to retrieve or change the door timeout limit.
  436.  
  437.                   msg->Command = 125
  438.                   msg->Data    = 1 or 0
  439.  
  440.                   if msg->Data = 1, then msg->String will equal timeout.
  441.                   if msg->Data = 0, then timeout will equal msg->String.
  442.  
  443.                   NOTE: This time is in seconds.
  444.  
  445.                   -----------------------------------------------------------
  446. BB_CONFNAME       Allows you to retrieve or change the conference name.
  447.  
  448.                   msg->Command = 126
  449.                   msg->Data    = 1 or 0
  450.  
  451.                   if msg->Data = 1, then msg->String will be name.
  452.                   if msg->Data = 0, then name will be msg->String.
  453.  
  454.                   -----------------------------------------------------------
  455. BB_CONFLOCAL      Allows you to retrieve or change the conference location.
  456.  
  457.                   msg->Command = 127
  458.                   msg->Data    = 1 or 0
  459.  
  460.                   if msg->Data = 1, then msg->String will be location.
  461.                   if msg->Data = 0, then location will be msg->String.
  462.  
  463.                   -----------------------------------------------------------
  464. BB_LOCAL          Allows you to retrieve the current BBS location.
  465.  
  466.                   msg->Command = 128
  467.                   msg->Data    = N/A
  468.  
  469.                   -----------------------------------------------------------
  470. BB_STATUS         Allows you to retrieve the current status of the node.
  471.  
  472.                   msg->Command = 129
  473.                   msg->Data    = N/A
  474.  
  475.                   msg->String will be 'OFFLINE' or 'ONLINE' depending on
  476.                   whether a user is logged onto the node.
  477.  
  478.                   -----------------------------------------------------------
  479. BB_COMMAND        Obsolete, DO NOT USE
  480.  
  481.                   msg->Command = 130
  482.  
  483.                   -----------------------------------------------------------
  484. BB_MAINLINE       Allows you to retrieve the menu prompt arguments prior to
  485.                   the door being entered.
  486.  
  487.                   msg->Command = 131
  488.                   msg->Data    = N/A
  489.  
  490.                   msg->String will be the menu prompt arguments.
  491.  
  492.                   -----------------------------------------------------------
  493. NB_LOAD           Obsolete, DO NOT USE
  494.  
  495.                   msg->Command = 132
  496.  
  497.                   -----------------------------------------------------------
  498. DT_USERLOAD       Obsolete, DO NOT USE
  499.  
  500.                   msg->Command = 133
  501.  
  502.                   -----------------------------------------------------------
  503. BB_CONFIG         Obsolete, DO NOT USE
  504.  
  505.                   msg->Command = 134
  506.  
  507.                   -----------------------------------------------------------
  508. CHG_USER          Obsolete, DO NOT USE
  509.  
  510.                   msg->Command = 135
  511.  
  512.                   -----------------------------------------------------------
  513. RETURNCOMMAND     Allows you to specify an internal command to be executed
  514.                   when the door is finished.
  515.  
  516.                   msg->Command = 136
  517.                   msg->Data    = N/A
  518.  
  519.                   command to be executed will be msg->String.
  520.  
  521.                   -----------------------------------------------------------
  522. ZMODEMSEND        Allows you to send files to the user via Zmodem protocol.
  523.  
  524.                   msg->Command = 137
  525.                   msg->String  = filename (complete pathname)
  526.                   msg->Data    = N/A
  527.  
  528.                   result of transfer will be in msg->Data, where
  529.  
  530.                   if msg->Data = 1 , then transfer successful.
  531.                   if msg->Data = -2, then user lost carrier.
  532.                   if msg->Data = 0 , then transfer unsuccessful.
  533.  
  534.                   -----------------------------------------------------------
  535. ZMODEMRECEIVE     Allows you to receive batch uploads via Zmodem protocol.
  536.  
  537.                   msg->Command = 138
  538.                   msg->String  = receive directory path
  539.                   msg->Data    = N/A
  540.  
  541.                   result of transfer will be in msg->Data, where
  542.  
  543.                   if msg->Data = 1 , then transfer successful.
  544.                   if msg->Data = -2, then user lost carrier.
  545.                   if msg->Data = 0,  then transfer unsuccessful.
  546.  
  547.                   -----------------------------------------------------------
  548. SCREEN_ADDRESS    Allows you to retrieve the screen address.
  549.  
  550.                   msg->Command = 139
  551.                   msg->Data    = N/A
  552.  
  553.                   msg->String will be a string containing the hexadecimal
  554.                   address of the Node screen.
  555.  
  556.                   -----------------------------------------------------------
  557. BB_TASKPRI        Allows you to retrieve the priority the node is running at.
  558.  
  559.                   msg->Command = 140
  560.                   msg->Data    = N/A
  561.  
  562.                   msg->String will contain the priority of the node.
  563.  
  564.                   -----------------------------------------------------------
  565. RAWSCREEN_ADDRESS Allows you to retrieve the screen address of the node.
  566.  
  567.                   msg->Command = 141
  568.                   msg->Data    = N/A
  569.  
  570.                   msg->String will be a string containing the decimal address
  571.                   of the express node.
  572.  
  573.                   -----------------------------------------------------------
  574. BB_CHATFLAG       Allows you to retrieve the current chat setting.
  575.  
  576.                   msg->Command = 142
  577.                   msg->Data    = N/A
  578.  
  579.                   msg->String will be "ON" or "OFF".
  580.  
  581.                   -----------------------------------------------------------
  582. DT_STAMP_LASTON   Allows you to retrieve a date string containing the date of
  583.                   when the user last logged on.
  584.  
  585.                   msg->Command = 143
  586.                   msg->Data    = N/A
  587.  
  588.                   msg->String will be the date string.
  589.  
  590.                   -----------------------------------------------------------
  591. DT_STAMP_CTIME    Allows you to retrieve a current time string.
  592.  
  593.                   msg->Command = 144
  594.                   msg->Data    = N/A
  595.  
  596.                   msg->String will be a current time string.
  597.  
  598.                   -----------------------------------------------------------
  599. DT_CURR_TIME      Allows you to retrieve the current time in seconds since
  600.                   January something.
  601.  
  602.                   msg->Command = 145
  603.                   msg->Data    = N/A
  604.  
  605.                   msg->String will be the current time.
  606.  
  607.                   -----------------------------------------------------------
  608. DT_CONFACCESS     Allows you to retrieve the users conference access.
  609.  
  610.                   msg->Command = 146
  611.                   msg->Data    = 1 or 0
  612.  
  613.                   if msg->Data = 1, then msg->String will be access string.
  614.                   if msg->Data = 0, then access string will be msg->String.
  615.  
  616.                   NOTE: string consists of upto 9 'X' or '_'. ie:
  617.  
  618.                          123456789
  619.                          ---------
  620.                          X_XXXX_XX   <-- 'X' = access, '_' = no access
  621.  
  622.                   ----------------------------------------------------------
  623. BB_PCONFLOCAL     Reserved, DO NOT USE
  624.  
  625.                   msg->Command = 147
  626.  
  627.                   ----------------------------------------------------------
  628. BB_PCONFNAME      Reserved, DO NOT USE
  629.  
  630.                   msg->Command = 148
  631.  
  632.                   ----------------------------------------------------------
  633. BB_NODEID         Allows you to retrieve the Node number for the current 
  634.                   node
  635.  
  636.                   msg->Command = 149
  637.                   msg->Data    = N/A
  638.  
  639.                   msg->String will be the node number.
  640.  
  641.                   ----------------------------------------------------------
  642. BB_CALLERSLOG     Allows you to add a line of text to the callerslog.
  643.  
  644.                   msg->Command = 150
  645.                   msg->String  = text
  646.                   msg->Data    = N/A
  647.  
  648.                   ----------------------------------------------------------
  649. BB_UDLOG          Allows you to add a line of text to the udlog.
  650.  
  651.                   msg->Command = 151
  652.                   msg->String  = text
  653.                   msg->Data    = N/A
  654.  
  655.                   ----------------------------------------------------------
  656. EXPRESS_VERSION   Allows you to retrieve the current version string of 
  657.                   express.
  658.  
  659.                   msg->Command = 152
  660.                   msg->Data    = N/A
  661.  
  662.                   ----------------------------------------------------------
  663. SV_UNICONIFY      Reserved, DO NOT USE without first consulting the author
  664.  
  665.                   msg->Command = 153
  666.  
  667.                   ----------------------------------------------------------
  668. BB_CHATSET        Allows you to retrieve or change the chat status.
  669.  
  670.                   msg->Command = 162
  671.                   msg->Data    = 1 or 0
  672.  
  673.                   if msg->Data = 1, then msg->String will be current status.
  674.                   if msg->Data = 0, then status will be msg->String.
  675.  
  676.                   ----------------------------------------------------------
  677. ENVSTAT           Allows you to retrieve or change the current environment
  678.                   stat variable code.
  679.  
  680.                   msg->Command = 163
  681.                   msg->Data    = 1 or 0
  682.  
  683.                   if msg->Data = 1, then msg->String will be status.
  684.                   if msg->Data = 0, then status will be msg->String.
  685.  
  686.                   ----------------------------------------------------------
  687. GETKEY            Reserved, DO NOT USE.
  688.  
  689.                   msg->Command = 500
  690.  
  691.                   ----------------------------------------------------------
  692. RAWARROW          Reserved, DO NOT USE.
  693.  
  694.                   msg->Command = 501
  695.  
  696.                   ----------------------------------------------------------
  697. CHAIN             Reserved, DO NOT USE.
  698.  
  699.                   msg->Command = 502
  700.  
  701.                   ----------------------------------------------------------
  702. NODE_DEVICE       Allows you to retrieve the node device name.
  703.  
  704.                   msg->Command = 503
  705.                   msg->Data    = N/A
  706.  
  707.                   msg->String will be the device string.
  708.  
  709.                   ----------------------------------------------------------
  710. NODE_UNIT         Allows you to retrieve the node unit number.
  711.  
  712.                   msg->Command = 504
  713.                   msg->Data    = N/A
  714.  
  715.                   msg->String will be the current node number.
  716.  
  717.                   ----------------------------------------------------------
  718. NODE_BAUD         Allows you to retieve the initialized baud rate of the node.
  719.  
  720.                   msg->Command = 505
  721.                   msg->Data    = N/A
  722.  
  723.                   msg->String will be the init baud rate.
  724.  
  725.                   ----------------------------------------------------------
  726. NODE_NUMBER       Obsolete, DO NOT USE.
  727.  
  728.                   msg->Command = 506
  729.  
  730.                   ----------------------------------------------------------
  731. JH_MCI            Allows you to send mci text to express.
  732.  
  733.                   msg->Command = 507
  734.                   msg->String  = text
  735.                   msg->Data    = N/A
  736.  
  737.                   ----------------------------------------------------------
  738. PRV_COMMAND       Allows you to immediately execute an internal express
  739.                   menu command.
  740.  
  741.                   msg->Command = 508
  742.                   msg->String  = commandstring
  743.                   msg->Data    = N/A
  744.  
  745.                   ----------------------------------------------------------
  746. PRV_GROUP         Reserved, DO NOT USE.
  747.  
  748.                   msg->Command = 509
  749.  
  750.                   ----------------------------------------------------------
  751. BB_CONFNUM        Allows you to retrieve the current conference number.
  752.  
  753.                   msg->Command = 510
  754.                   msg->Data    = N/A
  755.  
  756.                   msg->String will be conference number ranging from 0 to 8.
  757.  
  758.                   ----------------------------------------------------------
  759. BB_DROPDTR        Allows you to drop carrier on a user.
  760.  
  761.                   msg->Command = 511
  762.                   msg->Data    = N/A
  763.  
  764.                   ----------------------------------------------------------
  765. BB_GETTASK        Finds the current nodes task address.
  766.  
  767.                   msg->Command = 512
  768.                   msg->Data    = N/A
  769.  
  770.                   msg->task will be the express task address.
  771.  
  772.                   ----------------------------------------------------------
  773. BB_REMOVEPORT     Obsolete, DO NOT USE.
  774.  
  775.                   msg->Command = 513
  776.  
  777.                   ----------------------------------------------------------
  778. BB_SOPT           Obsolete, DO NOT USE.
  779.  
  780.                   msg->Command = 514
  781.  
  782.                   ----------------------------------------------------------
  783. NODE_BAUDRATE     Allows you to retrieve the current users connect rate
  784.  
  785.                   msg->Command = 516
  786.                   msg->Data    = N/A
  787.  
  788.                   msg->String will be the connect rate
  789.  
  790.                   ----------------------------------------------------------
  791. BB_LOGONTYPE      Allows you to retrieve the LOGONTYPE.
  792.  
  793.                   msg->Command = 517
  794.                   msg->Data    = N/A
  795.  
  796.                   msg->Data will be:
  797.  
  798.                   0 = AWAIT_LOGON
  799.                   1 = SYSOP_LOGON
  800.                   2 = LOCAL_LOGON
  801.                   3 = REMOTE_LOGON
  802.  
  803.                   ----------------------------------------------------------
  804. BB_SCRLEFT        Allows you to retrieve the screen coordinates.
  805.  
  806.                   msg->Command = 518
  807.                   msg->Data    = N/A
  808.  
  809.                   msg->Data will be the Node's Initial leftedge coordinate.
  810.  
  811.                   ----------------------------------------------------------
  812. BB_SCRTOP         Allows you to retrieve the screen coordinates.
  813.  
  814.                   msg->Command = 519
  815.                   msg->Data    = N/A
  816.  
  817.                   msg->Data will be the Node's Initial topedge coordinate.
  818.  
  819.                   ----------------------------------------------------------
  820. BB_SCRWIDTH       Allows you to retrieve the screen coordinates.
  821.  
  822.                   msg->Command = 520
  823.                   msg->Data    = N/A
  824.  
  825.                   msg->Data will be the Node's Initial screen height.
  826.  
  827.                   ----------------------------------------------------------
  828. BB_SCRHEIGHT      Allows you to retrieve the screen coordinates.
  829.  
  830.                   msg->Command = 521
  831.                   msg->Data    = N/A
  832.  
  833.                   msg->Data will be the Node's Initial screen width.
  834.  
  835.                   ----------------------------------------------------------
  836. BB_PURGELINE      Allows you to abort serial input.
  837.  
  838.                   msg->Command = 522
  839.                   msg->Data    = N/A
  840.  
  841.                   aborts serial input and flushes the serial buffer and sends
  842.                   a request for more input.
  843.  
  844.                   ----------------------------------------------------------
  845. BB_PURGELINESTART Allows you to CLEAR the serial buffer and request more
  846.                   serial input.
  847.  
  848.                   msg->Command = 523
  849.                   msg->Data    = N/A
  850.  
  851.                   ----------------------------------------------------------
  852. BB_PURGELINEEND   Allows you to CLEAR the serial buffer.
  853.  
  854.                   msg->Command = 524
  855.                   msg->Data    = N/A
  856.  
  857.                   ----------------------------------------------------------
  858. BB_NONSTOPTEXT    Allows you to change the NONSTOP text scrolling flag.
  859.  
  860.                   msg->Command = 525
  861.                   msg->Data    = 1 or 0
  862.  
  863.                   if msg->Data = 1, then display text will not pause.
  864.                   if msg->Data = 0, then display text will pause.
  865.  
  866.                   ----------------------------------------------------------
  867. BB_LINECOUNT      Allows you to retrieve or change the user's current number
  868.                   of lines viewed.
  869.  
  870.                   msg->Command = 526
  871.                   msg->Data    = 1 or 0
  872.  
  873.                   if msg->Data = 1, then msg->String will be current line.
  874.                   if msg->Data = 0, then current line will be msg->String.
  875.  
  876.                   ----------------------------------------------------------
  877. DT_LANGUAGE       Allows you to retrieve or change the current language
  878.                   specifications. 
  879.  
  880.                   msg->Command = 527
  881.                   msg->Data    = 1 or 0
  882.  
  883.                   if msg->Data = 1, then msg->String will be language.
  884.                   if msg->Data = 0, then language will be msg->String.
  885.  
  886.                   NOTE: Languages need to be standardized, please what for
  887.                         guidlines.
  888.  
  889.                   ie:  Default language .txt , .txt.gr
  890.                        English          .Eng , .Eng.gr
  891.                        German           .Ger , .Ger.gr
  892.  
  893.                        note that this only effects the menus, bulletins &
  894.                        other screen text files.
  895.  
  896.                   ----------------------------------------------------------
  897. DT_QUICKFLAG      Allows you to change the QUICKTEXT flag.
  898.  
  899.                   msg->Command = 528
  900.                   msg->Data    = 1 or 0
  901.  
  902.                   if msg->Data = 1, then the QuickFlag will be set.
  903.                   if msg->Data = 0, then the QuickFlag will not be set.
  904.  
  905.                   ----------------------------------------------------------
  906. DT_GOODFILE       Allows you to set the results of a tested file after 
  907.                   upload.
  908.  
  909.                   msg->Command = 529
  910.                   msg->Data    = 1,0 or -1
  911.  
  912.                   if msg->Data is 1, then the file does not need tested.
  913.                   if msg->Data is 0, then the file passed the filetest.
  914.                   if msg->Data is -1, then the file failed the filetest.
  915.                   if msg->Data is 2, then file should be checked by internal
  916.                                      filechecking routines.
  917.  
  918.                   NOTE: This command is only useful with the sys.cmd door
  919.                   called FILECHECK.
  920.  
  921.                   ----------------------------------------------------------
  922. DT_ANSICOLOR      Allows you to change the ansi color flag.
  923.  
  924.                   msg->Command = 530
  925.                   msg->Data    = 1 or 0
  926.  
  927.                   if msg->Data = 1, then ansicolor will be on.
  928.                   if msg->Data = 0, then ansicolor will be off.
  929.  
  930.                   ----------------------------------------------------------
  931. MULTICOM          Allows you to get the Global MultiCommunications
  932.                   Semaphore Address. (This is not a Public Semaphore.
  933.  
  934.                   msg->Command = 531
  935.                   msg->Data    = N/A
  936.  
  937.                   msg->Semi will be the Address of the Semaphore.
  938.  
  939.                   ----------------------------------------------------------
  940. DT_ADDBIT         Reserved, DO NOT USE.
  941.  
  942.                   msg->Command = 1000
  943.  
  944.                   ----------------------------------------------------------
  945. DT_REMBIT         Reserved, DO NOT USE.
  946.  
  947.                   msg->Command = 1001
  948.  
  949.                   ----------------------------------------------------------
  950. DT_QUERYBIT       Reserved, DO NOT USE.
  951.  
  952.                   msg->Command = 1002
  953.  
  954. ----------------------------------------------------------------------------
  955.  
  956.  
  957. NOTE!!!!!,, VERY IMPORTANT!!!
  958.  
  959.   DO NOT USE ANY COMMANDS THAT ARE NOT DOCUMENTED, SERIOUS PROBLEMS COULD
  960.   OCCUR. The commands that are Obsolete or Reserved do not use either. 
  961.  
  962.  
  963. Door Info, created by Joseph Hodge, author of AmiExpress.
  964.  
  965.